#pragma once

#include <iostream>
#include <string>
#include <vector>
#include <memory>
#include <sstream>
#include <fstream>
#include <functional>
#include <unordered_map>
#include "Log.hpp"


class HttpServer
{
public:
    HttpServer(){};
    std::string HandlerHttpReqeust(std::string req)
    {
        std::cout << "-----------------------------" << std::endl;
        std::cout << req;

        std::string response = "HTTP/1.0 200 OK\r\n"; // 404 NOT Found
        response += "\r\n";
        response += "<html><body><h1>hello world, hello bite!</h1></body></html>";
        return response;

    }

    ~HttpServer(){};

private:

};
// 端口号是多少 8888你现在试试 好
